﻿namespace Jinjia.Approve.Entity.Entity.Brand
{
    ///<summary>
    ///品牌表
    ///表brand_tbl的实体类
    ///</summary>
    public class brand_tbl
    {
        /// <summary>
        /// 自增ID
        /// </summary>
        public int id { get; set; }

        /// <summary>
        /// 品牌code
        /// </summary>
        public string brand_code { get; set; }

        /// <summary>
        /// 品牌名称
        /// </summary>
        public string brand_name { get; set; }

        /// <summary>
        /// 品牌简称
        /// </summary>
        public string brand_short_name { get; set; }

        /// <summary>
        /// 旺店通品牌code
        /// </summary>
        public string wdt_brand_no { get; set; }

        /// <summary>
        /// 旺店通品牌ID
        /// </summary>
        public string wdt_brand_id { get; set; }

        /// <summary>
        /// 国家
        /// </summary>
        public string country { get; set; }

        /// <summary>
        /// 是否内部品牌(是：Y,否：N)
        /// </summary>
        public string is_internal { get; set; }

        /// <summary>
        /// 品牌类别：A,B,C,D（A:流通低毛利，B:流通高毛利，C:一般代理，D:自有或总代）
        /// </summary>
        public string brand_type { get; set; }

        /// <summary>
        /// N：非独家；Y：独家
        /// </summary>
        public string is_exclusive_agency { get; set; }

        /// <summary>
        /// N：非自有品牌；Y：自有品牌
        /// </summary>
        public string is_private { get; set; }

        /// <summary>
        /// N：非单独算销量 Y：单独算销量
        /// </summary>
        public string is_single { get; set; }

        /// <summary>
        /// 币种
        /// </summary>
        public string currency_code { get; set; }

        /// <summary>
        /// 账期（天）
        /// </summary>
        public int payment_days { get; set; }

        /// <summary>
        /// 是否分期付款
        /// </summary>
        public string is_instalments { get; set; }

        /// <summary>
        /// 分期付款时，首款比例
        /// </summary>
        public decimal first_pay_rate { get; set; }

        /// <summary>
        /// 分期付款时，尾款比例
        /// </summary>
        public decimal last_pay_rate { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public System.DateTime create_time { get; set; }

        /// <summary>
        /// 创建人id
        /// </summary>
        public int create_user_id { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public System.DateTime update_time { get; set; }

        /// <summary>
        /// 更新人id
        /// </summary>
        public int update_user_id { get; set; }

        /// <summary>
        /// 0正常，1停用
        /// </summary>
        public sbyte state_brand { get; set; }

        /// <summary>
        /// 财务用品牌简写
        /// </summary>
        public string finance_brand_no { get; set; }

        /// <summary>
        /// 品牌财务编码（NC系统）
        /// </summary>
        public string nc_brand_no { get; set; }

        /// <summary>
        /// 备注(旺店通)
        /// </summary>
        public string remark { get; set; }

        /// <summary>
        /// 是否停用，0表示正常，1表示停用(旺店通)
        /// </summary>
        public string is_disabled { get; set; }

        /// <summary>
        /// syncTime
        /// </summary>
        public System.DateTime sync_time { get; set; }

        /// <summary>
        /// deleted
        /// </summary>
        public int deleted { get; set; }

        /// <summary>
        /// 0 国内 1跨境
        /// </summary>
        public int outside { get; set; }
    }
}